package com.zx.mes.hyl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@EnableDiscoveryClient
@SpringBootApplication
@EnableCircuitBreaker
@EnableHystrixDashboard
public class Test2Application {


    public static void main(String []args){

      SpringApplication.run(Test2Application.class);
        Logger logger = LoggerFactory.getLogger(Test2Application.class);
        logger.debug("程序开始 debug");
        logger.info("程序开始 info");
        logger.warn("程序开始 warn");
        logger.error("程序开始 error");
    }
}
